package com.linianda.JavaSE.Java基础.线程.multithreading;

public class MyThread2 extends Thread {
  @Override
  public void run() {
    int count = 0;
    while(count<10){
      count++;
      System.out.println("Thread2:"+count);
    }
  }
}
